/*
	Name:9_T6
	Copyright:Take it at will
	Author:Rodney
	Date: 
	Description:
*/
#include<stdio.h>
#include<stdlib.h>
char *fun(char *s);

int main()
{
	char *a="48CTYP9E6";
	a = fun(a);
	printf("%s\n",a);
}

char *fun(char *s)
{
	char *p;
	int n,i,j=0;
	for(n=0;*(s+n) != '\0';n++)
		if(*(s+n)>='0'&&*(s+n)<='9')	j++;
		
	n = n-j;
	p = (char *)calloc(n+1,sizeof(char));
	
	i=0;
	j=0;
	while(*(s+j)!='\0')
	{
		if(*(s+j)<'0'||*(s+j)>'9')
		{
			*(p+i) = *(s+j);
			i++;
		}
		j++;
	}
	
	return p;
}

